export default {
	website: {
		url: `/system/website`,
		name: '获取站点信息',
		get: async function (params: object | undefined) {
			return await http.get(this.url, params)
		}
	},
	webconfig: {
		url: `/system/webconfig`,
		name: '获取站点配置',
		get: async function (params: object | undefined) {
			return await http.get(this.url, params)
		}
	},
	websetlang: {
		url: `/system/websetlang`,
		name: '设置站点语言',
		put: async function (data: object | undefined) {
			return await http.put(this.url, data)
		}
	}
}
